package com.hnucm.cooklife.contract.uploaddish;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.db.DishDetail;
import com.hnucm.cooklife.bean.detail.DishDetailData;
import com.hnucm.cooklife.bean.uploaddish.UpRece;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public class Contract {
    public interface IUploadDishModel{
        Observable<UpRece> uploadDish(RequestBody dishDetail);
    }

    public interface IUploadDishView extends IBaseView{
        void onUploadDish(UpRece upRece);
    }

    public interface IUploadDishPresenter{
        void uploadDish(RequestBody dishDetail);
    }
}
